<div class="form-group col-sm-6">
    <label class="control-label">产品名称:</label>
    <input type="text" class="form-control input-sm" w5c-dynamic-element label="产品名称"
           name="product.name" ng-model="vm.product.name" ng-maxlength="30" required/>
</div>
<div class="form-group col-sm-6">
    <label class="control-label">货号:</label>
    <input type="text" class="form-control input-sm" w5c-dynamic-element label="货号"
           name="product.itemNo" ng-model="vm.product.itemNo" ng-maxlength="50" required/>
</div>

<div class="line line-dashed b-b "></div>
<div class="form-group col-sm-6">
    <label class="control-label">产品类型:</label>
    <input type="text" class="form-control input-sm" w5c-dynamic-element label="产品类型"
           name="product.type" ng-model="vm.product.type" required/>
</div>
<div class="form-group col-sm-6">
    <label class="control-label">产品规格:</label>
    <select class="form-control input-sm" name="product.size" w5c-dynamic-element label="产品规格"
            ng-model="vm.product.size" ng-options="obj for obj in $msg('PRODUCT_SIZE')" required>
    </select>
</div>
<div class="line line-dashed b-b "></div>
<div class="form-group col-sm-6">
    <label class="control-label">进价:</label>
    <input type="number" class="form-control input-sm" w5c-dynamic-element label="进价"
           name="product.buyAmt" ng-model="vm.product.buyAmt" min="0" required/>
</div>
<div class="form-group col-sm-6">
    <label class="control-label">单位:</label>
    <select class="form-control input-sm" name="product.unit" w5c-dynamic-element label="单位"
            ng-model="vm.product.unit" ng-options="obj for obj in $msg('RPODUCT_UNIT')" required>
    </select>
</div>
<div class="line line-dashed b-b "></div>
<div class="form-group col-sm-6">
    <label class="control-label">售价:</label>
    <input type="number" class="form-control input-sm" w5c-dynamic-element label="售价"
           name="product.saleAmt" ng-model="vm.product.saleAmt" min="0" required/>
</div>
<div class="line line-dashed b-b "></div>
<div class="form-group col-sm-12">
    <label class="control-label">描述:</label>
    <textarea class="form-control" rows="3" cols="70" ng-model="vm.product.desc"></textarea>
</div>